<?php
class Localization extends AppModel {

	var $name = 'Localization';
    var $validate = array(
        'language' => array(
            'rule'    => array('inList', array('en','zh')),
            'message' => 'Invalid language code'
        ),
        'website' => array(
            'rule'       => 'url',
            'allowEmpty' => true,
            'message'    => 'Please enter a valid url'
        )
    );
    var $belongsTo = array(
        'Country'
    );

} // Localization
?>